package com.damuzee.system.system.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.mybatis.sql.page.Page;
import org.springframework.stereotype.Service;

import com.damuzee.system.system.domain.PermOpr;
import com.damuzee.system.system.persistence.PermOprMapper;
import com.damuzee.system.system.service.PermOprService;

@Service
public class  PermOprServiceImpl implements PermOprService{

	public Page< PermOpr> getPermOprList(Page<  PermOpr> page,   PermOpr  bean) {
		return mapper.selectPageByWhere(page,   bean);
	}

	public void savePermOpr( PermOpr bean) {
		 
		mapper.insert(bean);
	}
	
 
	public List<PermOpr> getPermOprList( PermOpr bean) {
		 
		return mapper.selectList(bean);
	}

	 
	public void updatePermOpr( PermOpr bean) {
		mapper.update(bean); 
	}

 
	@Resource
	private  PermOprMapper mapper ;
}
